<?php
$server = 'mssql.wmi.amu.edu.pl';
$dbname = 'zapisytest';
$user = 'zapisytest';
$pass = 'password';
$con = mssql_connect($server, $user, $pass) or die('conn error');
$selected = mssql_select_db($dbname, $con) or die("Couldn't open database $dbname");
?>